#ifndef winglCanvas_h__
#define winglCanvas_h__
#include "../../inc/skyAdapter.h"
#include "../../inc/skyObject.h"
#ifdef _GLES_
#include "../thirdParty/win32/ogles/gles/gl.h"
#include "../thirdParty/win32/ogles/EGL/egl.h"
namespace Sky
{
	class OSCanvas : public Object
	{
	public:
		enum Format
		{
			Format_none,
			Format_Default = EGL_TEXTURE_RGB
		};
		OSCanvas():_surf(0){}
	protected:
        i32 mType;
		EGLSurface _surf;
		// Vertex Buffer Object (VBO) handles
		//GLuint	m_puiVbo;
		//GLuint	m_puiIndexVbo;
	public:
		EGLSurface getSurface(){return _surf;}
	};
}
#endif
#endif // winCanvas_h__